package com.cake.entity;

import java.math.BigDecimal;
import java.util.Date;

import com.cake.entity.base.BaseEntity;

public class XxSpecificationValue extends BaseEntity {
    /**
     * 商品规格值主键
     * 表字段 : xx_specification_value.id
     */
    private Long id;

    /**
     * 商品规格具体值
     * 表字段 : xx_specification_value.name
     */
    private String name;

    /**
     * 商品规格图片链接地址
     * 表字段 : xx_specification_value.image
     */
    private String image;

    /**
     * 商品规格值尺寸说明
     * 表字段 : xx_specification_value.size
     */
    private String size;

    /**
     * 商品规格值建议说明
     * 表字段 : xx_specification_value.introduction
     */
    private String introduction;

    /**
     * 商品规格主键
     * 表字段 : xx_specification_value.specification
     */
    private Long specification;

    /**
     * 商品该规格值的价格
     * 表字段 : xx_specification_value.price
     */
    private BigDecimal price;

    /**
     * 商品规格值排序位
     * 表字段 : xx_specification_value.orders
     */
    private Integer orders;

    /**
     * 商品规格值创建时间
     * 表字段 : xx_specification_value.create_date
     */
    private Date createDate;

    /**
     * 商品规格值最新修改时间
     * 表字段 : xx_specification_value.modify_date
     */
    private Date modifyDate;

    /**
     * 建议食用说明(待定)
     * 表字段 : xx_specification_value.attribute_value0
     */
    private String attributeValue0;

    /**
     * 弹出框(待定)
     * 表字段 : xx_specification_value.attribute_value1
     */
    private String attributeValue1;

    /**
     * 巧克力牌上的字数限制(待定)
     * 表字段 : xx_specification_value.attribute_value2
     */
    private String attributeValue2;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table xx_specification_value
     *
     * @mbg.generated
     */
    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image == null ? null : image.trim();
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size == null ? null : size.trim();
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction == null ? null : introduction.trim();
    }

    public Long getSpecification() {
        return specification;
    }

    public void setSpecification(Long specification) {
        this.specification = specification;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getOrders() {
        return orders;
    }

    public void setOrders(Integer orders) {
        this.orders = orders;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getAttributeValue0() {
        return attributeValue0;
    }

    public void setAttributeValue0(String attributeValue0) {
        this.attributeValue0 = attributeValue0 == null ? null : attributeValue0.trim();
    }

    public String getAttributeValue1() {
        return attributeValue1;
    }

    public void setAttributeValue1(String attributeValue1) {
        this.attributeValue1 = attributeValue1 == null ? null : attributeValue1.trim();
    }

    public String getAttributeValue2() {
        return attributeValue2;
    }

    public void setAttributeValue2(String attributeValue2) {
        this.attributeValue2 = attributeValue2 == null ? null : attributeValue2.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", image=").append(image);
        sb.append(", size=").append(size);
        sb.append(", introduction=").append(introduction);
        sb.append(", specification=").append(specification);
        sb.append(", price=").append(price);
        sb.append(", orders=").append(orders);
        sb.append(", createDate=").append(createDate);
        sb.append(", modifyDate=").append(modifyDate);
        sb.append(", attributeValue0=").append(attributeValue0);
        sb.append(", attributeValue1=").append(attributeValue1);
        sb.append(", attributeValue2=").append(attributeValue2);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}